css hide text

131

.hidden { font-size: 0; }
h1 {
    background-image: url(/the_img.png);  /* shows image */
    height: 100px;                        /* be sure to set height & width */
    width:  600px;

    /* Hide the text. */
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
#customer_custom1 {
  display: none;
}

Comments

Submit
0 Comments